package com.chinasofti;

public class TestStudent2 {

    public static void main(String[] args) {
        Student s1 = new Student();
        System.out.println(s1);// com.chinasofti.Student@1540e19d
        s1.name = "阿珍";
        s1.age = 18;
        System.out.println(s1.name+"..."+s1.age);
        s1.studay();

        Student s2 = new Student();
        System.out.println(s2);//com.chinasofti.Student@677327b6
        s2.name = "阿强";
        s2.age = 20;
        System.out.println(s2.name+"..."+s2.age);
        s2.studay();
    }
}
